<?php
/**
 * ExtMenuSeparator class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtMenuSeparator extends ExtMenuBaseItem
{
    /**
     * Gets the value of ExtJS hideOnClick property
     * @return Boolean 
     */
    public function getHideOnClick()
    {
    	return $this->getConfig("hideonclick");
    }

    /**
     * Sets the value of ExtJS hideOnClick property
     * @param Boolean $value 
     */
    public function setHideOnClick($value)
    {
    	$this->setConfig("hideonclick",$value);
    }

    /**
     * Gets the value of ExtJS itemCls property
     * @return String 
     */
    public function getItemCls()
    {
    	return $this->getConfig("itemcls");
    }

    /**
     * Sets the value of ExtJS itemCls property
     * @param String $value 
     */
    public function setItemCls($value)
    {
    	$this->setConfig("itemcls",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'hideonclick' => 'hideOnClick',
            'itemcls' => 'itemCls'
        ));



        $this->setXType('menuseparator');
        $this->setXClass('Ext.menu.Separator');
    }    
}
?>